<?php

require_once 'Zend/Form/Element/Password.php';

class ZFKiller_Form_Element_Password extends Zend_Form_Element_Password {
	public function __construct($spec, $options = null) {
		ZFKiller_Form_Element::formatDefaultOptions($spec, $options);

		if(!isset($options['label'])) {
			$options['label'] = 'Senha';
		}

		parent::__construct($spec, $options);

		ZFKiller_Form_Element::formatElementAsText($this);
	}
}